<template>
	<view>
		<u-navbar title="電影上映規格" placeholder autoBack>
			<view class="flexright xiaohui" slot="right" @click="tianjia">新增</view>
		</u-navbar>
		<view class="" style="padding-bottom: 150rpx;">
			<view class="ffffff radius mainpadding_top">
				<view class="flexbetween">
					<view class="titletext hei_text bold">日期</view>
					<u-icon name="trash" color="#ff0000" size="20"></u-icon>
				</view>
				<view class="bghui radius mainpadding_top flexbetween" @click="messageTime.timeShow = true">
					<input type="text" class="hei_text main_size bold" disabled placeholder="請選擇日期">
					<u-icon name="arrow-right" color="#999" size="16"></u-icon>
				</view>
				<view class="flexbetween margin_top">
					<view class="titletext hei_text bold">選擇規格</view>
					<u-icon name="trash" color="#ff0000" size="20"></u-icon>
				</view>
				<view class="bghui radius mainpadding_top flexbetween" @click="jumpurl('/pages/workbench/dianyinggg')">
					<input type="text" class="hei_text main_size bold" disabled placeholder="請選擇選擇規格">
					<u-icon name="arrow-right" color="#999" size="16"></u-icon>
				</view>
			</view>
		</view>
		<view class="mainpadding posibottom" style="bottom: 0;">
			<view class="submitbtn">確認</view>
		</view>
		<timePicker :messageTime="messageTime" @timeConfirm="timeConfirm"></timePicker>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				messageTime: {
					timeShow: false,
					title: "上映時間",
					mode: "date"
				},
				time: "",
			}
		},
		methods: {
			timeConfirm(e) {
				this.time = e
			},
			jumpurl(url){
				uni.navigateTo({
					url
				})
			}
		}
	}
</script>

<style>

</style>